//
//  WelcomeLayer.h
//  CutFruit
//
//  Created by BulletHermit on 13-6-19.
//  Copyright 2013年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "MessageLayer.h"
#import "constant.h"
@interface WelcomeLayer : CCLayer {
    //variable linked to ccbi file
    CCMenuItemImage* playButton;
    CCMenuItemImage* lifeButton;
    CCMenuItemImage* timeButton;
    CCLabelTTF* lifeLabel;
    CCLabelTTF* timeLabel;
    MessageLayer* msgLayer;
}
@property (nonatomic,retain) CCMenuItemImage* playButton;
@property (nonatomic,retain) CCMenuItemImage* lifeButton;
@property (nonatomic,retain) CCMenuItemImage* timeButton;
@property (nonatomic,retain) CCLabelTTF* lifeLabel;
@property (nonatomic,retain) CCLabelTTF* timeLabel;

-(void) play:(id) sender;
-(void) playLifeMode:(id)sender;
-(void) playTimeMode:(id)sender;
-(void) setSound:(id)sender;
@end
